<div style="height:400px;" class="d-flex flex-column p-2">
    <multi-select [dataSource]="fieldConfigData" [idField]="'labelCode'" [valueField]="'labelCode'" [textField]="'name'"
        [displayType]="'List'" (dataChange)="changeSelectField($event)" [(selectedId)]="selectedFieldIds" [fit]="true">
        <ng-template farrisTemplate="text" let-data>
            {{ data.name }} [ {{ data.labelCode }}]
        </ng-template>
    </multi-select>
</div>
<ng-template #footer>
    <button type="button" class="btn btn-secondary" (click)="clickCancel()">取消</button>
    <button type="button" class="btn btn-primary" (click)="clickConfirm()">确定</button>
</ng-template>